Organizer contains an Array of pointers of type Mecable*. These Mecables are organized by Organizer::setInteraction() which is implemented in the derived classes, eg. Bundle, Aster & Nucleus.
|
|
| Organizer () |
| | default constructor
|
| |
|
virtual | ~Organizer () |
| | destructor
|
| |
|
virtual ObjectList | build (Glossary &)=0 |
| | construct all the dependent Objects of the Organizer
|
| |
|
unsigned int | nbOrganized () const |
| | number of objects currently organized
|
| |
|
Mecable * | organized (unsigned int n) const |
| | return Mecable at index n
|
| |
|
void | grasp (Mecable *) |
| | add Mecable at end of list
|
| |
|
void | grasp (Mecable *, unsigned int) |
| | add Mecable at index n
|
| |
|
void | goodbye (Buddy *) |
| | handles the disapearance of one of the organized object
|
| |
| virtual Vector | position () const |
| | return the center of gravity More...
|
| |
|
virtual Vector | positionP (unsigned int) const |
| | return the average of object->posP(0)
|
| |
|
virtual void | step () |
| | monte-carlo simulation step
|
| |
|
virtual void | setInteractions (Meca &) const |
| | add interactions to the Meca
|
| |
|
virtual void | translate (Vector const &T) |
| | move all associated objects
|
| |
|
virtual void | rotate (Rotation const &T) |
| | transform all associated objects
|
| |
|
virtual unsigned int | nbLinks () const |
| | number of connections to be displayed
|
| |
|
virtual Vector | posLink1 (unsigned int ii) const |
| | first position of connection ii
|
| |
|
virtual Vector | posLink2 (unsigned int ii) const |
| | second position of connection ii
|
| |
|
virtual PointDisp * | pointDisp () const |
| | display parameters
|
| |
|
Organizer * | next () const |
| | a static_cast<> of Node::next()
|
| |
|
Organizer * | prev () const |
| | a static_cast<> of Node::prev()
|
| |
| void | read (InputWrapper &, Simul &) |
| | read More...
|
| |
|
void | write (OutputWrapper &) const |
| | write
|
| |
|
| Object () |
| | constructor
|
| |
|
virtual Tag | tag () const =0 |
| | an ASCII character identifying the ObjectSet corresponding to this object
|
| |
|
virtual const Property * | property () const =0 |
| | Property associated with the Object.
|
| |
| std::string | reference () const |
| | concatenation of [ tag(), property()->index(), number() ] in plain ascii More...
|
| |
| void | writeReference (OutputWrapper &) const |
| | write a reference that identifies the Object uniquely More...
|
| |
| void | writeReference (OutputWrapper &, Tag tag) const |
| | write a reference, but using the provided Tag More...
|
| |
|
int | mark () const |
| | birth mark value
|
| |
|
void | mark (int m) |
| | set birth mark
|
| |
|
int | fleck () const |
| | fleck value (not stored in trajectory files)
|
| |
|
void | fleck (int f) const |
| | set fleck (the value is not stored in trajectory files)
|
| |
|
Object * | next () const |
| | extends Node::next(), with a cast to preserve type
|
| |
|
Object * | prev () const |
| | extends Node::prev(), with a cast to preserve type
|
| |
|
| Node () |
| | constructor set as unlinked
|
| |
| virtual | ~Node () |
| | destructor More...
|
| |
|
bool | linked () const |
| | true if Node is linked
|
| |
|
Node * | next () const |
| | the next Node in the list, or zero if this is last
|
| |
|
Node * | prev () const |
| | the previous Node in the list, or zero if this is first
|
| |
|
NodeList * | list () const |
| | the list where the object is linked, or zero
|
| |
|
ObjectSet * | objset () const |
| | return associated ObjectSet
|
| |
|
| Inventoried () |
| | initialize (name=0)
|
| |
|
| ~Inventoried () |
| | destructor
|
| |
|
void | number (Number n) |
| | change the serial number
|
| |
|
Number | number () const |
| | serial number : a integer identifier, unique within each class
|
| |
|
| Movable () |
| | constructor
|
| |
|
virtual | ~Movable () |
| | destructor
|
| |
| virtual void | setPosition (Vector const &) |
| | move object to specified position More...
|
| |
|
virtual bool | translatable () const |
| | true if object accepts translations (default=false)
|
| |
|
virtual bool | rotatable () const |
| | true if object accepts rotations (default=false)
|
| |
| virtual void | rotateP (Rotation const &) |
| | rotate the object around its current position More...
|
| |
| virtual void | foldPosition (Modulo const *) |
| | perform modulo for periodic boundary conditions More...
|
| |
|
| static std::string | strReference (char, int, Number, int) |
| | build a string reference by concatenating (tag, property_index, number, mark) More...
|
| |
| static void | readReference (InputWrapper &, int &, Number &, int &, char pretag) |
| | read a reference (property_index, number, mark) from input More...
|
| |
|
static void | writeNullReference (OutputWrapper &) |
| | write a reference that does not refer to any Object
|
| |
| static Vector | readPrimitive (std::istream &, const Space *) |
| | read a position specified with primitives, such as 'circle 5', etc. More...
|
| |
| static Vector | readPosition (std::istream &, const Space *) |
| | read a position in space More...
|
| |
| static Vector | readDirection (std::istream &, const Vector &, const Space *) |
| | read an orientation, and return a normalized vector More...
|
| |
| static Rotation | readRotation (std::istream &, const Vector &, const Space *) |
| | read a rotation specified in is, at position pos More...
|
| |
|
static const Tag | TAG = 'v' |
| | Object::TAG = 'v' represents the 'void' pointer.
|
| |
|
Node * | nNext |
| | the next Node in the list
|
| |
|
Node * | nPrev |
| | the previous Node in the list
|
| |
|
Number | nNumber |
| | object identifier, unique within the class defined by tag()
|
| |